//
//  PublicCourseDetails.h
//  Courses
//
//  Created by xxx on 15/1/11.
//  Copyright (c) 2015年 wtf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Courses-Prefix.pch"
@interface PublicCourseDetails : NSObject

//"courseId": "课程id",
//"courseName": "课程名称",
//"courseDescription":"课程介绍",
//"courseSerialId":"课程系列id",
//"courseSerialName":"课程系列名称",
//"teacherId":"讲师Id",
//"teacherName":"讲师姓名",
//"teacherTitle":"讲师抬头",
//"teacherHeadPhotoUrl":"讲师头像url",
//"teacherDescShort":"讲师简要介绍",
//"favoritesNum": "1000",
//"courseViewNum": "1000",
//"related":[
//           {
//               "courseId": "课程id",
//               "courseName": "课程名称"
//           }
//           ]

pStr *courseId;
pStr *courseName;
pStr *courseDescription;
pStr *courseSerialId;
pStr *courseSerialName;
pStr *teacherId;
pStr *teacherName;
pStr *teacherTitle;
pStr *teacherHeadPhotoUrl;
pStr *teacherDescShort;
pStr *favoritesNum;
pStr *courseViewNum;
pNS NSMutableArray *relatedCourses;

- (id)initWithJsonDict:(NSDictionary *)jsonDict;

+ (PublicCourseDetails *)courseDetailsByCourseId:(NSString *)courseId;

@end
